<div id="user_create_div">
<form id="user_create_form" id="user_create_form" method="post" action="">
<fieldset>
	<legend>创建新用户</legend>
	<ul>
		<li>
			<label>用户名:</label>
			<input type="text" name="userName" />
			<div id="userNameTip"></div>
		</li>
		<li>
			<label>密码:</label>
			<input type="text" name="passWord" />
			<div id="passWordTip"></div>
		</li>
		<li>
			<label>昵称:</label>
			<input type="text" name="nickName" />
			<div id="nickNameTip"></div>
		</li>
		<li>
			<label>电子邮件:</label>
			<input type="text" name="email" />
			<div id="emailTip"></div>
		</li>
		<li>
			<label>联系电话:</label>
			<input type="text" name="phone" />
			<div id="phoneTip"></div>
		</li>
		<li>
			<label>身份证号:</label>
			<input type="text" name="identity" />
			<div id="identityTip"></div>
		</li>
		<li>
			<label>地址:</label>
			<select id="province" name="province.id">
			</select>省&nbsp;&nbsp;
			<select id="city" name="city.id">
			</select>市&nbsp;&nbsp;
			<select id="district" name="district.id">
			</select>区&nbsp;&nbsp;
			
			<input type="text" name="address" />
			<div id="addressTip"></div>
		</li>
		<li>
			<label>性别:</label>
			<select name="sex" >
				<option value="0">女</option>
				<option value="1">男</option>
			</select>
			<div id="sexTip"></div>
		</li>
		<#if SESSION_CURRENT_USER.isAdmin>
			<li>
				<label>所属部门:</label>
				<select name="pmdept.id" >
					<#list depts as dept>
						<option value="${dept.id}">${dept.deptName?html}</option>
					</#list>
				</select>
				<div id="pmdeptTip"></div>
			</li>
		</#if>
		<li>
			<input type="submit" value="提交" />
			<input type="reset" value="重置" />
		</li>
	</ul>
</fieldset>
</form>
</div>

